package net.miranti.opmov.client;

import net.miranti.client.AppModule;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.google.gwt.user.client.History;

public class OpMovApplication implements EntryPoint {
	@GinModules({AppModule.class})
	interface Injector extends Ginjector {
		PlaceManager manager();
	}

	Injector injector = GWT.create(Injector.class);
		
	@Override
	public void onModuleLoad() {
		injector.manager().go(History.getToken());
	}
}
